<%@page pageEncoding = "utf-8" contentType = "text/html;charset=utf-8"%>
<%@taglib prefix = "fmt" uri = "http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setLocale value = "ru"/>
<fmt:setBundle basename = "servicedesk" scope = "request"/>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
  <script type = "text/javascript" src = "js/default.js"></script>
  <script type = "text/javascript" src = "js/fade.js"></script>
  <script type = "text/javascript" src = "date/epoch_classes.js"></script>

  <link href = "default.css" rel = "stylesheet" type = "text/css"/>
  <link href = "date/epoch_styles.css" rel = "stylesheet" type = "text/css"/>

  <title>
    <fmt:message key = "Title.projectName"/> - <fmt:message key = "interface.title.${sessionScope.alias}"/>
  </title>
</head>

<body onload=Fat.fade_all();>

<table width="100%" height="100%">
  <tr>
    <td width="260px" style="background-color: #fafafa; vertical-align: top; overflow: auto;">
      <h3><fmt:message key = "interface.title.${sessionScope.alias}"/></h3>
      ${userName}
      <a href="${sessionScope.alias}?_action=exit" title="Завершить работу">Выход</a>
    
      <div style="width: 100%;">
        <jsp:include page="/sidebar.jsp"/>
      </div>
    </td>
    
    <td width="auto" style="vertical-align: top; height: 100%;">
      <jsp:include page = "${requestScope.page}"/>
    </td>
  </tr>
</table>
   
</body>
</html>